package print;

/**
 * @classname:Test
 * @description:
 * @author: Mr.Z
 * @date: 2020/12/5 21:43
 * @version: 0.1
 * @since:1.8
 */
public class Test {
    public static void main(String[] args) {
        School school = new School("大庆市","八一农垦");


        Teacher teache= new Teacher(23,"张飞");

        Printer printer = new CorloPrint();
        printer.print(school);

        Printer printer1 = new WhitePrint();
        printer1.print(teache);
    }
}
